package com.senseuni.da.ui

import android.os.Bundle
import android.widget.RadioButton
import androidx.appcompat.app.AppCompatActivity
import com.senseuni.da.R
import com.senseuni.da.adapter.SimpleRecyclerAdapter
import com.senseuni.da.adapter.ViewHolder
import com.senseuni.da.databinding.ActivityGalleryBinding
import com.senseuni.da.db.entity.MediaEntity
import com.senseuni.da.ui.dialog.SimpleListItem

class GalleryActivity : AppCompatActivity() {

    private lateinit var binding:ActivityGalleryBinding

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        binding = ActivityGalleryBinding.inflate(layoutInflater)
        setContentView(binding.root)



    }

    private fun initAdapter() {
        val adapter: SimpleRecyclerAdapter<MediaEntity> =
            object : SimpleRecyclerAdapter<MediaEntity>(binding.recyclerView, null) {
                override fun getItemLayout(): Int {
                    return R.layout.view_item_choice_list_dialog
                }

                override fun onBindData(viewHolder: ViewHolder, data: MediaEntity, position: Int) {
                }
            }
        binding.recyclerView.adapter = adapter
    }
}